﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="EditStaff.aspx.cs" Inherits="Admin_Staff_EditStaff" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">

    <h1>Update Staff</h1>

    <asp:HiddenField ID="hiddStaffID" runat="server" />
    <div></div>
        <%--<asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>--%>
        <h2><asp:Label ID="tbName" runat="server"></asp:Label>

            <asp:DropDownList ID="ddlBranch" runat="server" DataSourceID="LinqDataSource1"
            DataTextField="Name" DataValueField="ID">
        </asp:DropDownList>
        </h2>
        
    
    <p>
        <%--<asp:Label ID="Label2" runat="server" Text="Branch"></asp:Label>--%>
        
    </p>
    <p>
        <asp:Button ID="Button1" runat="server" Text="Update" OnClick="Button1_Click" />
    </p>
    <p>
        &nbsp;
    </p>
    <p>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server"
            ContextTypeName="MailDistributionSystemDBDataContext" EntityTypeName=""
            Select="new (ID, Name)"
            TableName="tblBranches">
        </asp:LinqDataSource>
    </p>
</asp:Content>

